
public class Teacher extends Person{
	private String subj;

	public Teacher(String name, String ssn, String subj) {
		super(name, ssn);
		this.subj = subj;
	}

	public String getSubj() {
		return subj;
	}

	public void setSubj(String subj) {
		this.subj = subj;
	}

}
